<template>
    <router-view></router-view>
</template>
<script>

export default {
    name: 'App',
    mounted() {
        this.$store.state.sysUser.username = localStorage.getItem("user")
        this.$store.state.sysUser.token = localStorage.getItem("token")
    }
}
</script>

<style>

html,
body,
#app {
    height: 100%;
    margin: 0;
    padding: 0;
}

nav {
    padding: 30px;
}

nav a {
    font-weight: bold;
    color: #2c3e50;
}

nav a.router-link-exact-active {
    color: #42b983;
}
</style>
